package com.hzq.htest.ui.login.bean;

/**
 * Created by ${GuoZhaoHui} on 2017/9/20.
 * email:guozhaohui628@gmail.com
 */

public class LoginfoBean {

    /**
     * meta : {"success":true,"message":"ok"}
     * data : {"powerId":136,"powerName":"张伟","powerCap":null,"parentId":null,"parentName":null,"powerDes":null,"elecPrice":0,"errorLevel":null,"errorCount":null,"listPowerids":null,"longitude":"115","latitude":"38","mapLevel":6,"userId":0,"userName":"张伟","userCode":"张伟","end":0,"rootForm":null,"oriTips":null,"sunpanelNum":0,"sunpanelType":null,"orientation":0,"dipAngle":0,"powerAddr":null,"isAdmin":0,"expand":null}
     */

    private MetaBean meta;
    private DataBean data;

    @Override
    public String toString() {
        return "LoginfoBean{" +
                "meta=" + meta +
                ", data=" + data +
                '}';
    }

    public MetaBean getMeta() {
        return meta;
    }

    public void setMeta(MetaBean meta) {
        this.meta = meta;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class MetaBean {

        @Override
        public String toString() {
            return "MetaBean{" +
                    "success=" + success +
                    ", message='" + message + '\'' +
                    '}';
        }

        /**
         * success : true
         * message : ok
         */



        private boolean success;
        private String message;

        public boolean isSuccess() {
            return success;
        }

        public void setSuccess(boolean success) {
            this.success = success;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

    public static class DataBean {

        @Override
        public String toString() {
            return "DataBean{" +
                    "powerId=" + powerId +
                    ", powerName='" + powerName + '\'' +
                    ", powerCap=" + powerCap +
                    ", parentId=" + parentId +
                    ", parentName=" + parentName +
                    ", powerDes=" + powerDes +
                    ", elecPrice=" + elecPrice +
                    ", errorLevel=" + errorLevel +
                    ", errorCount=" + errorCount +
                    ", listPowerids=" + listPowerids +
                    ", longitude='" + longitude + '\'' +
                    ", latitude='" + latitude + '\'' +
                    ", mapLevel=" + mapLevel +
                    ", userId=" + userId +
                    ", userName='" + userName + '\'' +
                    ", userCode='" + userCode + '\'' +
                    ", end=" + end +
                    ", rootForm=" + rootForm +
                    ", oriTips=" + oriTips +
                    ", sunpanelNum=" + sunpanelNum +
                    ", sunpanelType=" + sunpanelType +
                    ", orientation=" + orientation +
                    ", dipAngle=" + dipAngle +
                    ", powerAddr=" + powerAddr +
                    ", isAdmin=" + isAdmin +
                    ", expand=" + expand +
                    '}';
        }

        /**
         * powerId : 136
         * powerName : 张伟
         * powerCap : null
         * parentId : null
         * parentName : null
         * powerDes : null
         * elecPrice : 0
         * errorLevel : null
         * errorCount : null
         * listPowerids : null
         * longitude : 115
         * latitude : 38
         * mapLevel : 6
         * userId : 0
         * userName : 张伟
         * userCode : 张伟
         * end : 0
         * rootForm : null
         * oriTips : null
         * sunpanelNum : 0
         * sunpanelType : null
         * orientation : 0
         * dipAngle : 0
         * powerAddr : null
         * isAdmin : 0
         * expand : null
         */

        private int powerId;
        private String powerName;
        private Object powerCap;
        private Object parentId;
        private Object parentName;
        private Object powerDes;
        private int elecPrice;
        private Object errorLevel;
        private Object errorCount;
        private Object listPowerids;
        private String longitude;
        private String latitude;
        private int mapLevel;
        private int userId;
        private String userName;
        private String userCode;
        private int end;
        private Object rootForm;
        private Object oriTips;
        private int sunpanelNum;
        private Object sunpanelType;
        private int orientation;
        private int dipAngle;
        private Object powerAddr;
        private int isAdmin;
        private Object expand;

        public int getPowerId() {
            return powerId;
        }

        public void setPowerId(int powerId) {
            this.powerId = powerId;
        }

        public String getPowerName() {
            return powerName;
        }

        public void setPowerName(String powerName) {
            this.powerName = powerName;
        }

        public Object getPowerCap() {
            return powerCap;
        }

        public void setPowerCap(Object powerCap) {
            this.powerCap = powerCap;
        }

        public Object getParentId() {
            return parentId;
        }

        public void setParentId(Object parentId) {
            this.parentId = parentId;
        }

        public Object getParentName() {
            return parentName;
        }

        public void setParentName(Object parentName) {
            this.parentName = parentName;
        }

        public Object getPowerDes() {
            return powerDes;
        }

        public void setPowerDes(Object powerDes) {
            this.powerDes = powerDes;
        }

        public int getElecPrice() {
            return elecPrice;
        }

        public void setElecPrice(int elecPrice) {
            this.elecPrice = elecPrice;
        }

        public Object getErrorLevel() {
            return errorLevel;
        }

        public void setErrorLevel(Object errorLevel) {
            this.errorLevel = errorLevel;
        }

        public Object getErrorCount() {
            return errorCount;
        }

        public void setErrorCount(Object errorCount) {
            this.errorCount = errorCount;
        }

        public Object getListPowerids() {
            return listPowerids;
        }

        public void setListPowerids(Object listPowerids) {
            this.listPowerids = listPowerids;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public int getMapLevel() {
            return mapLevel;
        }

        public void setMapLevel(int mapLevel) {
            this.mapLevel = mapLevel;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserCode() {
            return userCode;
        }

        public void setUserCode(String userCode) {
            this.userCode = userCode;
        }

        public int getEnd() {
            return end;
        }

        public void setEnd(int end) {
            this.end = end;
        }

        public Object getRootForm() {
            return rootForm;
        }

        public void setRootForm(Object rootForm) {
            this.rootForm = rootForm;
        }

        public Object getOriTips() {
            return oriTips;
        }

        public void setOriTips(Object oriTips) {
            this.oriTips = oriTips;
        }

        public int getSunpanelNum() {
            return sunpanelNum;
        }

        public void setSunpanelNum(int sunpanelNum) {
            this.sunpanelNum = sunpanelNum;
        }

        public Object getSunpanelType() {
            return sunpanelType;
        }

        public void setSunpanelType(Object sunpanelType) {
            this.sunpanelType = sunpanelType;
        }

        public int getOrientation() {
            return orientation;
        }

        public void setOrientation(int orientation) {
            this.orientation = orientation;
        }

        public int getDipAngle() {
            return dipAngle;
        }

        public void setDipAngle(int dipAngle) {
            this.dipAngle = dipAngle;
        }

        public Object getPowerAddr() {
            return powerAddr;
        }

        public void setPowerAddr(Object powerAddr) {
            this.powerAddr = powerAddr;
        }

        public int getIsAdmin() {
            return isAdmin;
        }

        public void setIsAdmin(int isAdmin) {
            this.isAdmin = isAdmin;
        }

        public Object getExpand() {
            return expand;
        }

        public void setExpand(Object expand) {
            this.expand = expand;
        }
    }
}
